package com.aspose.cells;

import java.util.ArrayList;

class zbvd implements zaij {
   private zig b;
   private zat c;
   private zalw d;
   private float e;
   private float f;
   private float g;
   private float h;
   private float i;
   ArrayList a = new ArrayList();
   private boolean j = false;

   zbvd(zig var1) {
      this.b = var1;
      this.d = new zalw(var1, 6);
      this.c = new zat(var1, this, 4);
      this.c.a(1);
      this.c.b(Color.getEmpty());
      this.d.a(1);
      this.d.a(Color.getEmpty());
   }

   public zalw c() {
      return this.d;
   }

   public zahf a() {
      return this.d;
   }

   zat d() {
      return this.c;
   }

   public zafn b() {
      return this.c;
   }

   float e() {
      return this.e;
   }

   void a(float var1) {
      this.e = var1;
   }

   float f() {
      return this.f;
   }

   void b(float var1) {
      this.f = var1;
   }

   float g() {
      return this.g;
   }

   void c(float var1) {
      this.g = var1;
   }

   float h() {
      return this.h;
   }

   void d(float var1) {
      this.h = var1;
   }

   float i() {
      return this.i;
   }

   void e(float var1) {
      this.i = var1;
   }

   float j() {
      return this.e() + this.g() / 2.0F;
   }

   float a(boolean var1, int var2, int var3) {
      float var4 = (float)this.b.o() / 100.0F;
      float var5 = 0.0F;
      if (var1) {
         var5 = this.i() / (float)var2;
      } else {
         var5 = this.g() / (float)var2;
      }

      float var6 = var5 / ((float)var3 + var4);
      return var6;
   }

   float k() {
      float var1 = (float)this.b.n() / 100.0F;
      float var2 = this.h() / (1.0F + var1);
      return var2;
   }

   protected void finalize() throws Exception {
      this.a(false);
   }

   public void l() {
      this.a(true);
      com.aspose.cells.b.a.zg.a(this);
   }

   protected void a(boolean var1) {
      if (!this.j) {
         if (var1 && this.c != null) {
            this.c.l();
         }

         this.j = true;
      }

   }
}
